Add Go (preview) runtime reference for Azure Functions migration - #2929
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Adds a Go (preview) runtime reference to the azure-cloud-migrate Azure Functions migration documentation set, and updates shared migration rules/mapping docs so they correctly account for Go’s preview status and triggers-only programming model.
Changes:
- Introduces a new Go runtime reference (
runtimes/go.md) documenting setup, supported triggers, SDK-based I/O patterns, retry semantics, and Flex Consumption constraints. - Expands Lambda → Functions programming-model mapping and runtime-specific links to include the Go worker (preview).
- Updates shared rules to require explicit user confirmation for preview runtimes and to document Go’s “SDK for all non-HTTP I/O” exception.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| plugin/skills/azure-cloud-migrate/references/services/functions/runtimes/go.md | New Go (preview) runtime reference covering triggers, SDK patterns, and hosting constraints. |
| plugin/skills/azure-cloud-migrate/references/services/functions/lambda-to-functions.md | Adds Go worker column to programming-model mapping and links to Go migration rules. |
| plugin/skills/azure-cloud-migrate/references/services/functions/global-rules.md | Requires ask_user confirmation for preview runtimes and documents the Go triggers-only exception. |
| plugin/skills/azure-cloud-migrate/references/services/functions/code-migration.md | Adds Go-specific “no function.json”, preview confirmation, and triggers-only I/O exception guidance. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 40bda0fe-2317-44bf-9727-7d60f896dc06
2a5d40e to
4df7a8c
Compare
|
Rick Winter (@RickWinter) - apologies on the delayed turn around on this. I was waiting for some go quick start templates to be live before resuming work on this PR. I've addressed all your feedback on this. Could you please take another look? |
|
The existing runtime triggers are included in one file rather than different files - https://github.com/microsoft/GitHub-Copilot-for-Azure/blob/main/plugins/azure-skills/skills/azure-cloud-migrate/references/services/functions/runtimes/java.md was there a challenge with token or length of the file when you try the same? |
Summary
Adds a Go (preview) runtime reference for the Azure Functions Lambda-migration skill, based on the
azure-functions-golang-workerSDK.What's in
runtimes/go.mdfunc init --worker-runtime goscaffolding (host.json,local.settings.json), scoped as local-only per Microsoft Learn.DefaultAzureCredentialfor non-HTTP I/O (Go worker is triggers-only by design).sdk.RecoverTo/sdk.Recover).appbinary, zip permission bits, EventGrid-source blob-trigger requirements).Supporting edits
Small carve-outs in
code-migration.md,global-rules.md, andlambda-to-functions.mdso the shared migration rules ("nofunction.json", "bindings over SDKs", programming-model mapping) know about Go and preview-runtime confirmation.